package com.cheng.student.dao.mappers;

import com.cheng.student.beans.Teacher;
import org.apache.ibatis.annotations.Param;

public interface TeacherMapper
{
    //更新姓名
    public void updateName(
            @Param("payrollNumber")String payrollNumber,
            @Param("password")String password,
            @Param("name")String newName);
    //更新图片路径
    public void updatePath(
            @Param("payrollNumber")String payrollNumber,
            @Param("password")String password,
            @Param("path")String newPath);
    //查询老师信息
    public Teacher selectTeacher(
            @Param("payrollNumber")String payrollNumber,
            @Param("password")String password);
}
